package com.bbb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WorksLike {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer worksId;

    private Integer userId;

    @TableField(exist = false)
    private String authorName;
}
